<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>innerHTML</title>
    <script>
        function change(){
            document.getElementById("one").innerHTML = "<a href=''>网易</a><a href=''>网易2</a>"
        }
    </script>
</head>
<body>
    <div id="one">
        accp
    </div>
    <button onclick="change()">改变</button>
</body>
</html>